Skip to content

Conversation

@samuelreichert
Copy link
Contributor

Pull request type

New feature (non-breaking change which adds functionality)


Description

Adding possibility to set type and format (masks) to export to excel in datagrid2.

@samuelreichert samuelreichert force-pushed the spike/WC-2826-excel-types-format branch from 638b123 to 0945978 Compare October 16, 2025 13:52
@samuelreichert samuelreichert marked this pull request as ready for review October 17, 2025 13:34
@samuelreichert samuelreichert requested a review from a team as a code owner October 17, 2025 13:34
@samuelreichert samuelreichert force-pushed the spike/WC-2826-excel-types-format branch 2 times, most recently from 58c4f5e to 34fec3a Compare October 20, 2025 10:27
@samuelreichert samuelreichert force-pushed the spike/WC-2826-excel-types-format branch from 421eb46 to 0f5c3ba Compare November 4, 2025 10:08
Comment on lines 339 to 352
function excelString(value: string): ExcelCell {
return {
t: "s",
v: value
};
}

function excelStringFormat(value: string, format?: string): ExcelCell {
return {
t: "s",
v: value,
z: format
};
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It can be one method, I think

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants